package model

import (
	"tdy-backend/app/core/model"
)

type Works struct {
	model.BaseModel
	Title    string `gorm:"column:title;type:varchar(100);not null;comment:作品名称"`
	Status   uint   `gorm:"column:status;type:tinyint(4);not null;comment:状态 1启用 2禁用"`
	Cover    string `gorm:"column:cover;type:varchar(200);default:null;comment:封面"`
	MemberId uint   `gorm:"column:member_id;type:bigint(20);not null;comment:会员id"`
}
